package part3;

/**
 * Title: Account class for CSIS 235 Project 8 part 3
 * Description: CS 235 Project #8 - Part 3
 *              Serialization
 * @author Anthony Varghese
 * @email  your.n.here@my.uwrf.edu
 * @date   February 5th 2012
 */

class Account{
	public static final float MINIMUM_BALANCE = 100; // $100 minimum balance
	private int id;
	private float balance;
	private String firstName;
	private String lastName;
	public Account(int i, float b, String f, String l) {
		id = i; balance = b;
		firstName = f; lastName = l;
	}
	public float getBalance(){ return balance; }
	public String toString(){
		return  String.format("%20s\t%6d\t\t$%7.2f", (lastName+" "+firstName), id, balance);
	}
}